﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ChargeManagement.BLL
{
    /// <summary>
    /// </summary>
    abstract class CashBase
    {
        /// <summary>
        /// declares an interface common to all supported algorithms. 
        /// Context uses this interface to call the algorithm defined by a ConcreteStrategy
        /// </summary>
        /// <param name="money"></param>
        /// <returns></returns>
        public abstract double acceptCash(double money);
    }
}
